using System;
using UnityEngine;


namespace Framework.Debugger {
    public sealed class DebuggerManager : FrameworkModule
    {

        public void Info(string format, params object[] args)
        {
            Debug.Log(TextUtility.Format(format, args));
        }

        public void Error(string format, params object[] args)
        {
            Debug.LogError(TextUtility.Format(format, args));
        }

        public void Error(Exception e)
        {
            Debug.LogException(e);
        }
    }
}